<?php
if($strStyleSheet == TRUE){
	echo "<table class='Normal' border='0' align='left' width='100%'>";
}
     echo "
     <tr align='left'>
         <td align='left' colspan='4'>
             <H2>Product Size Search Result</H2>
         </td>
     </tr>
";
        //echo $strSQL;
if(!$myrow[0]==""){
     do {

echo "
     <tr bgcolor='".switch_background($boBG)."'>
         <td width='100'>
             <a href='" . ScreenURL("EnterProductSize",array('intProductSizeID'=>$myrow[0]) ) . "' target='_blank'>
             <img src='./images/update.gif' width='65' height='13' border='0' alt='Update' align='middle'></a>               
         </td>
		 <td>
             ".DisplayLookupValue("tblProduct","Product",$myrow["Product"])."  
         </td>
         <td>
             ".DisplayLookupValue("tblSize","Size",$myrow["Size"])."  
         </td>

         <td align='right' width='100'>
              <a href=\"" . ScreenURL("ListProductSize",array('intProductSizeID'=>$myrow[0],'ACTION'=>"qryDeleteProductSize") ) . "\"
                 onclick=\"return confirmLink(this, 'Delete ".DisplayLookupValue("tblSize","Size",$myrow["Size"])." option from ".DisplayLookupValue("tblProduct","Product",$myrow["Product"])."');\">
              <img src='./images/delete.gif' width='62' height='13' border='0' alt='Update' align='middle'></a>
         </td>

     </tr>
";

         $boBG = -1 - $boBG;
     } while ($myrow = mysql_fetch_array($result));
}else{
echo "
     <tr class='MandatoryRed'><br/>
         <td colspan='4'>
             Your Search Has Returned No Results.
         </td>
     </tr>
";
}
	if($strStyleSheet == TRUE){
   		echo "</table>";
	}
?>
